module.exports = (sequelize, Types) => {
    const Channel = sequelize.define('channel', {
        name: Types.STRING(80),
        url: Types.STRING(200),
        img: Types.STRING(200),
        txt: Types.STRING(80),
    }, {
        tableName: 'channel',
        timestamps: false,//禁止seq自动添加createAt,updatedAt
    });
    Channel.sync();
    return Channel;
};